package com.example.medical_delivery_system.dao;

import com.example.medical_delivery_system.entity.UserToken;

/**
 * BelongsProject: medical_delivery_system
 * Author: Kotoba Trily
 * CreateTime: 2022/12/25 17:32
 * Description:
 * Version: 1.0
 */

public interface DeliveryTokenMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(UserToken record);

    int insertSelective(UserToken record);

    UserToken selectByPrimaryKey(Long userId);

    UserToken selectByToken(String token);

    int updateByPrimaryKeySelective(UserToken record);

    int updateByPrimaryKey(UserToken record);
}